package com.CGFrame.struts.POJOs;

import java.util.Date;


/**
 * Material entity. @author MyEclipse Persistence Tools
 */

public class Material  implements java.io.Serializable {


    // Fields    

     private Integer materialId;
     private Reguser reguser;
     private Materialgroup materialgroup;
     private String materialName;
     private String keyWord;
     private String description;
     private Date inputTime;


    // Constructors

    /** default constructor */
    public Material() {
    }

	/** minimal constructor */
    public Material(Materialgroup materialgroup, String materialName, Date inputTime) {
        this.materialgroup = materialgroup;
        this.materialName = materialName;
        this.inputTime = inputTime;
    }
    
    /** full constructor */
    public Material(Reguser reguser, Materialgroup materialgroup, String materialName, String keyWord, String description, Date inputTime) {
        this.reguser = reguser;
        this.materialgroup = materialgroup;
        this.materialName = materialName;
        this.keyWord = keyWord;
        this.description = description;
        this.inputTime = inputTime;
    }

   
    // Property accessors

    public Integer getMaterialId() {
        return this.materialId;
    }
    
    public void setMaterialId(Integer materialId) {
        this.materialId = materialId;
    }

    public Reguser getReguser() {
        return this.reguser;
    }
    
    public void setReguser(Reguser reguser) {
        this.reguser = reguser;
    }

    public Materialgroup getMaterialgroup() {
        return this.materialgroup;
    }
    
    public void setMaterialgroup(Materialgroup materialgroup) {
        this.materialgroup = materialgroup;
    }

    public String getMaterialName() {
        return this.materialName;
    }
    
    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getKeyWord() {
        return this.keyWord;
    }
    
    public void setKeyWord(String keyWord) {
        this.keyWord = keyWord;
    }

    public String getDescription() {
        return this.description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }

    public Date getInputTime() {
        return this.inputTime;
    }
    
    public void setInputTime(Date inputTime) {
        this.inputTime = inputTime;
    }
   








}